package ltd.hxya.novel.book.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ltd.hxya.novel.book.entity.BookContent;
import ltd.hxya.novel.book.vo.BookContentVo;
import ltd.hxya.novel.common.to.book.BookChapterTo;
import ltd.hxya.novel.common.vo.BookContentParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 * 小说内容表 服务类
 * </p>
 *
 * @author hxya
 * @since 2022-09-13
 */
public interface IBookContentService extends IService<BookContent> {

    BookContentVo bookContent(BookContentParam param, HttpServletRequest request);

    /**
     * 查询章节内容(根据最新章节id，查询出章节内容,查询content表)
     * @param lastChapterId
     * @return
     */
    String getBookContent(String lastChapterId);
}
